package com.uzai.console.dto.pyq.pyqgoods;

import com.uzai.console.dto.QueryParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author liuqi
 * @date 2021年08月26日 14:31
 */
@ApiModel("朋友圈淘宝商品列表分页查询参数")
public class PyqTbGoodsQuery extends QueryParam  {

    private static final long serialVersionUID = 4003584647093367269L;

    @ApiModelProperty("搜索关键词,支持商品id或者商品标题查询")
    private String keyword;

    @ApiModelProperty("商品类目 默认是0-全部")
    private Integer cid;

    @ApiModelProperty("商品券后价下限")
    private Integer minPrice;

    @ApiModelProperty("商品券后价上限")
    private Integer maxPrice;

    @ApiModelProperty("排序：0-综合排序，1-销量从高到低，2-销量从低到高，3-佣金比例从低到高，4-佣金比例从高到低，5-价格从高到低，6-价格从低到高")
    private Integer sort;

    @ApiModelProperty("每页数量,默认50条")
    private Integer size;

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(Integer minPrice) {
        this.minPrice = minPrice;
    }

    public Integer getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(Integer maxPrice) {
        this.maxPrice = maxPrice;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public Integer getSize() {
        return size;
    }

    @Override
    public void setSize(Integer size) {
        this.size = size;
    }
}
